# -*- coding: cp949 -*-
from xml.dom.minidom import parse, parseString
from xml.etree import ElementTree

##### global
xmlFD = -1
MovieDoc = None

def MovieFree():
    if checkDocument():
        MovieDoc.unlink()

def checkDocument():
    global MovieDoc
    if MovieDoc == None:
        print("Error : Document is empty")
        return False
    return True  
